package org.example.redisexamples.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Order {

    public static final String PRE_KEY = "Orders:";

    public static final String STREAM_KEY = "orders:process";
    public static final String GROUP_NAME = "consumer-group";
    public static final String GROUP_CONSUMER = "consumer-1";

    private String id;
    private String userId;
    private String itemId;

}
